package com.baizhi.hospital.dao;

import com.baizhi.hospital.entity.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DepartmentDao {
    List<Department> selectDepartmentByPage(@Param("start")int start,@Param("limit")int limit,@Param("departmentName")String departmentName);
    int selectCount(@Param("departmentName")String departmentName);
    int insert(Department department);
    int delete(int departmentId);
    Department selectOne(int departmentId);
    int update(Department department);

    int multiDelete(int [] departmentIds);


}
